package com.fzrskj.cloud.free.core;

import com.fzrskj.cloud.free.core.utils.ConfigPropUtils;
import com.winiis.component.cache.WiniisCache;
import com.winiis.component.cache.enums.CacheDriverEnum;

/**
 * WiniisCacheImplMain.
 *
 * @author zj.
 *         Created on 2019/4/26 0026.
 */
public class WiniisCacheImplMain implements WiniisCache {
    @Override
    public CacheDriverEnum getDriver() {
        return CacheDriverEnum.get(ConfigPropUtils.getValue("optimize.cache.driver"));
    }
}
